package com.hqu.ms;

import java.io.File;
import java.util.concurrent.Executors;

import org.json.JSONException;
import org.json.JSONObject;

import com.googlecode.androidannotations.annotations.AfterViews;
import com.googlecode.androidannotations.annotations.Background;
import com.googlecode.androidannotations.annotations.EFragment;
import com.googlecode.androidannotations.annotations.ViewById;

import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.widget.SearchViewCompat;
import android.support.v4.widget.SearchViewCompat.OnQueryTextListenerCompat;
import android.text.Html;
import android.text.TextUtils;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

@EFragment(R.layout.fragments_test_layout)
public class CountingFragment extends Fragment {
	@ViewById
	TextView tvInfo;

	@ViewById
	ImageView ivInfo;


	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
		setHasOptionsMenu(true);
	}
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.fragments_test_layout, null);
		TextView tv = (TextView)view.findViewById(R.id.tvInfo);
		tv.setText("hello");
		return view;
	}

}
